Repository navigation
docs(spec): add RIPR-SPEC-0130 RIPR authority map + legacy conformance fixture (#1761) - #1836
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Summary by CodeRabbit
WalkthroughAdds RIPR-SPEC-0130, documenting canonical paths for RIPR artifacts, and introduces a cargo-allow conformance fixture for parsing legacy goal and traceability TOML dialects. ChangesRIPR authority map
Estimated code review effort: 2 (Simple) | ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ad273433dc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…e fixture (#1761) Define the canonical authority map mapping 12 artifact categories (agent_instructions, proposals, specifications, adr, plans, goals, traceability, support_tiers, policy_ledgers, receipts, metrics, capabilities) to their canonical paths. Add a legacy-dialect conformance fixture asserting .ripr/goals/active.toml and .ripr/traceability.toml parse without error. This is dependency-zero for the spec-v2 walking skeleton (#1672): cargo-allow and the context compiler (#1632) consume the authority map to find every source-of-truth artifact without guessing paths. Proof: cargo xtask check-spec-format, check-spec-numbering, check-doc-index all exit 0.
14dbb1b to
e88fc59
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/specs/RIPR-SPEC-0130-ripr-authority-map.md`:
- Around line 5-9: Resolve the conflicting authority definitions in the
specification: either designate one canonical source and document how
policy/doc-artifacts.toml and .allow/profiles/spec-system.toml are generated,
synchronized, and validated, or narrow the scope to document-only guidance and
remove the promise that consumers can avoid a parallel ledger. Update the
non-goals and implementation mapping consistently.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 08654f41-d401-4343-85f3-fa9b6bce1e16
📒 Files selected for processing (3)
.allow/conformance/legacy-dialect.jsondocs/specs/README.mddocs/specs/RIPR-SPEC-0130-ripr-authority-map.md
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
EffortlessMetrics/ripr(auto-detected)EffortlessMetrics/perl-lsp(auto-detected)EffortlessMetrics/unsafe-review(auto-detected)EffortlessMetrics/ub-review(auto-detected)
Rename the release SHA256 sidecar manifest from checksums.txt to SHA256SUMS (ecosystem convention for `sha256sum -c`). Content format unchanged. Also cleans up/excludes a stale legacy checksums.txt on a reused dist/ run. Verified locally; required CI lanes were red on pre-existing main breakage unrelated to this diff (#1836's unlisted .allow/conformance/legacy-dialect.json fails check-file-policy; the goals-audit repository_inventory fixture fails under llvm-cov). This diff passes cargo test -p xtask, fmt, clippy, check-doc-index, and check-file-policy locally in isolation. Closes #1727
…es main breakage from #1836) (#1848) The conformance fixture .allow/conformance/legacy-dialect.json was added in #1836 (authority map) without a non-rust-allowlist entry, breaking check-file-policy on main. Add the entry. This is a main-unblock fix: CI was failing on every subsequent PR because check-file-policy is a required gate. Proof: cargo xtask check-file-policy (exit 0). Co-authored-by: Codex <codex@example.invalid>
…isory corpus entry (#1729) The evidence-promotion-honesty gate iterates its corpus language-agnostically, so the tier-`pure` `source_report` Perl charter case (`perl_preview_card_advisory_no_repair_packet`) is already enforced on every default `check-evidence-promotion-honesty` run. This adds the proof #1729 asked for, with no production behavior change: - `evidence_promotion_honesty_catches_dishonest_perl_advisory_rebless`: a red/green witness — an honest advisory report stays clean, a dishonest re-bless to `exposed` trips the `must_not_promote` assertion. - `perl_advisory_charter_case_stays_enforced_in_live_corpus`: guards the real corpus so a future silent demotion/removal of the Perl entry is caught. - Both registered under RIPR-SPEC-0108 in the traceability map. Verified locally (both tests + real gate green, fmt/clippy/static-language clean). Adversarial review verdict: solid. Required "Ripr Rust Small" CI lane is red on pre-existing main breakage unrelated to this diff (#1836's unlisted .allow/conformance/legacy-dialect.json fails check-file-policy; fix in flight in PR #1846). Closes #1729
Summary
Define the canonical RIPR authority map (12 artifact categories mapped to their paths) and a legacy-dialect conformance fixture. This is dependency-zero for the spec-v2 walking skeleton (#1672/#1673).
Changes
docs/specs/RIPR-SPEC-0130-ripr-authority-map.md(93 lines):.allow/conformance/legacy-dialect.json: asserts.ripr/goals/active.toml+.ripr/traceability.tomlparse without error (consumed by cargo-allow spec-system profile, advisory)docs/specs/README.md: registered SPEC-0130Proof
Why
This is slice #1761 of #1673. A consumer (cargo-allow, the context compiler #1632, a report generator) that needs to navigate RIPR's source-of-truth artifacts currently has to know each path individually. The authority map gives them a single declarative reference. The conformance fixture proves the legacy TOML dialects parse cleanly.
Non-goals
policy/doc-artifacts.toml(the machine-readable ledger) — complements it.